<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商品管理</title> <#include "/WEB-INF/content/module-index.html">
<script type="text/javascript">
function downloads(){
	var leftCreateTime=$("#leftCreateTime").datetimebox("getValue");
	var rightCreateTime=$("#rightCreateTime").datetimebox("getValue");
	var params="?leftCreateTime="+leftCreateTime+"&rightCreateTime="+rightCreateTime;
	window.location.href=moduleUrl.substring(0,moduleUrl.lastIndexOf("/"))+"/download"+params;
}

</script>
<style>
a.btn-border{
	border: 1px solid #ccc;
}
</style>
</head>
<body>
<body class="easyui-layout">
	<div region="center" style="padding: 5px; background:#eee;">
		<div id="toolbar">
			时间:<input id="leftCreateTime" class="easyui-datebox"/>至:<input id="rightCreateTime" class="easyui-datebox"/>
			<a class="easyui-linkbutton" onclick="javascript:downloads();" icon="icon-add" style="border: 1px solid #ccc" plain="true">导出</a>	
			<span style="margin-left:2rem;">列表无法展示表格头部为动态的内容，请导出查看</span>		
		</div>
	</div>
</body>
</body>

</html>